// 所有接口方法的列表
import Ajax from './ajax.js'

export const reqmain = () =>{
    return Ajax('/home/main')
}

export const reqClassify = () =>{
    return Ajax('/home/classify')
}

export const reqlist = (page) => {
    return Ajax('/home/list', { page })
}

export const reqshopCar = () => {
    return Ajax('/home/shop')
    
}

export const reqdetail = (id) => {
    return Ajax(`/detail/${id}`)
}
